

package com.hexinfo.dmpro.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hexinfo.dmpro.common.dto.HotBackupDTO;
import com.hexinfo.dmpro.common.dto.TableSyncDTO;
import com.hexinfo.dmpro.common.model.ClusterSparingConf;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 集群热备配置表
 *
 * @author yemw
 * @date 2023-08-30 14:09:32
 */
@Mapper
public interface ClusterSparingConfMapper extends BaseMapper<ClusterSparingConf> {
    Map<String,Object> hotBackupTotal(@Param("dto") HotBackupDTO hotBackupDTO);
    Map<String,Object> TableSyncTotal(@Param("dto") TableSyncDTO tableSyncDTO);
    String getId(@Param("clusterName")String clusterName);
}
